<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<meta name="generator" content="JsDoc Toolkit 1.0">
	<title>JsDoc: Processor</title>
	<link rel=stylesheet href="default.css" type="text/css" media=screen>
</head>

<body>
	<div class="content">
		<div class="docs">
		
			<div class="sectionHead">Library: Processor</div>
			<div class="section overview">
				<div class="itemTitle">
					Overview
				</div>
				<div>	
					<div class="desc">Processing Data Source and Operators</div>
					<div class="itemTags">
					
						<ul>
							<li>desc: Processing Data Source</li>
						</ul>
					
					</div>
				</div>
			</div>
			
			<div class="sectionHead">Constructors</div>
			
			
			
			
			
			
			<div class="section constructor">
				<div class="itemTitle">
					<a name="Timeplot.Processor"></a>
					
					
					Timeplot.Processor(<span class="signature">dataSource, operator, params</span>)
					
				</div>
				
				
					<div class="desc">A Processor is a special DataSource that can apply an Operator
to the DataSource values and thus return a different one.</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							dataSource
						</td>
						<td>
							
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							operator
						</td>
						<td>
							
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							params
						</td>
						<td>
							
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
				
				
			</div>
			
			
			
			<div class="sectionHead">Functions</div>
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Operator.sum"></a>
					
					
					Timeplot.Operator.sum(<span class="signature">data, params</span>)
					
				</div>
				
				
					<div class="desc">This is the operator used when you want to draw the cumulative sum
of a time series and not, for example, their daily values.</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							data
						</td>
						<td>
							
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							params
						</td>
						<td>
							
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Operator.average"></a>
					
					
					Timeplot.Operator.average(<span class="signature">data, params</span>)
					
				</div>
				
				
					<div class="desc">This is the operator that is used to 'smooth' a given time series
by taking the average value of a moving window centered around
each value. The size of the moving window is influenced by the 'size'
parameters in the params map.</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							data
						</td>
						<td>
							
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							params
						</td>
						<td>
							
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			
			
			<div class="sectionHead">Objects</div>
			
			
			
			
			
			
			
			
			
			
		</div>
	</div>
	<div class="finePrint">
	Generated by <a href="http://jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> on Fri, 27 Jul 2007 04:11:47 GMT
	</div>
</body>
</html>
